<?php

require_once 'init.php';
require_once 'components/tours.php';

$smarty->assign(
	'boatsOnMain',
	query2arrays("
		SELECT id,name,image01,image02,image03,image04,image05,image06,image07,image08,image09,image10 
		FROM boats_on_main
		INNER JOIN boats ON boats_on_main.boat_id = boats.id
		ORDER BY boats_on_main.sort_order
	")
);

$smarty->assign('page',new Page('home'));

$smarty->display('index.tpl');

?>